package io.unicorn.modules.water.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * ${comments}
 * 
 * @author LNCG
 * @email LNCG@USTL.EDU.CN
 * @date 2021-05-07 14:06:07
 */
@Data
@TableName("Gather_DB.dbo.V_Account_Manage")
public class VaccountmanageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private String proName;
	private String areaName;
	private String cityName;
	private String mapX;
	private String mapY;
	private Integer deviceCount;
	private String modeName;
	private String phone;
	private String memo;
	private BigDecimal beforedata;
	private BigDecimal afterdata;
	private BigDecimal beforetotaldata;
	private BigDecimal aftertotaldata;
	private Integer faultcount;
	private String unitNameW;
	private String unitNameG;
	private String areaId;
	private Integer unitNameWId;
	private String cityId;
	private Integer unitNameGId;
	private Integer modeId;
	private Integer abnormal;

	private String installerName;
	private String installerPhone;
	private String debugerName;
	private String debugerPhone;

	private String memo2;
	private String memo3;
	private String memo4;
	private String memo5;
	private String memo6;

	//保洁表数
	private Integer cleanCount;
	//网点表数
	private Integer salesCount;
	//小区说明
	private String proDesc;
	//系统类型
	private String desc14;

	public static Map<String, String> getHeadName(){
		Map<String, String> headMap = new LinkedHashMap<String, String>();

		headMap.put("proName","小区");
		headMap.put("areaId","分公司码");
		headMap.put("areaName","分公司");

		headMap.put("unitNameWId","管理所代码");
		headMap.put("unitNameW","管理所");

		headMap.put("mapX","X坐标");
		headMap.put("mapY","Y坐标");
		headMap.put("deviceCount","设备数");
		headMap.put("cleanCount","保洁表数");
		headMap.put("salesCount","网点表数");
		headMap.put("proDesc","小区说明");

		headMap.put("modeId","采集方式码");
		headMap.put("modeName","采集方式");

		headMap.put("phone","电话");
		headMap.put("memo","备注");

		headMap.put("faultcount","故障数");
		headMap.put("abnormal","异常");

		headMap.put("beforedata","之前数据");
		headMap.put("afterdata","之后数据");
		headMap.put("beforetotaldata","之前总数据");
		headMap.put("aftertotaldata","之后总数据");

		headMap.put("cityId","城市代码");
		headMap.put("cityName","城市");

		headMap.put("unitNameGId","管理所代码煤气");
		headMap.put("unitNameG","管理所煤气");

		headMap.put("debugerPhone","开工时间");
		headMap.put("installerName","竣工时间");
		headMap.put("installerPhone","是否竣工");
		headMap.put("debugerName","调试人");


		headMap.put("memo2","备注2");
		headMap.put("memo3","备注3");
		headMap.put("memo4","备注4");
		headMap.put("memo5","备注5");
		headMap.put("memo6","备注6");

		return headMap;
	};
}
